package com.gimi.cloud.bbp.manage.consumer.service.sys;

import com.gimi.cloud.bbp.common.utils.reqhead.Response;
import com.gimi.cloud.bbp.dto.sys.SysMenuDTO;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * 菜单相关接口
 *
 * @author wbj
 * @version 1.0
 * @Description
 * @create 2018-01-25
 **/
public interface SysMenuService {

    /**
     * 获取菜单tree
     * @param request
     * @param response
     * @param menuDTO 查询参数
     */
    Response getMenuTree(HttpServletRequest request, HttpServletResponse response, SysMenuDTO menuDTO);

    /**
     * 获取菜单信息
     * @param request
     * @param response
     * @param menuDTO 待获取的菜单信息
     */
    Response getMenuInfo(HttpServletRequest request, HttpServletResponse response, SysMenuDTO menuDTO);

    /**
     * 添加菜单信息
     * @param request
     * @param response
     * @param menuDTO 待添加的菜单信息
     */
    Response addMenu(HttpServletRequest request,HttpServletResponse response,SysMenuDTO menuDTO);

    /**
     * 更新菜单信息
     * @param request
     * @param response
     * @param menuDTO 待更新的菜单信息
     */
    Response editMenu(HttpServletRequest request,HttpServletResponse response,SysMenuDTO menuDTO);

    /**
     * 删除菜单信息
     * @param request
     * @param response
     * @param menuDTO 待删除的菜单信息
     */
    Response deleteMenu(HttpServletRequest request,HttpServletResponse response,SysMenuDTO menuDTO);
}
